
                                                <?php 
                                                    $activity       = HResponse::getAttribute('activity');
                                                    $activityList   = HResponse::getAttribute('activityList');
                                                ?>
                                                <div class="control-group">
                                                    <label class="control-label" for="">使用优惠：</label>
                                                    <table class="table table-hover">
                                                      <thead>
                                                        <tr>
                                                          <th>#</th>
                                                          <th>类别</th>
                                                          <th>满</th>
                                                          <th>减</th>
                                                          <th>操作</th>
                                                        </tr>
                                                      </thead>
                                                      <tbody>
                                                        <?php if($activity) { ?>
                                                        <tr>
                                                          <td>1</td>
                                                          <td><?php echo OrderactivityPopo::$typeMap[$activity['type']]['name'];?></td>
                                                          <td><?php echo $activity['min_money'];?></td>
                                                          <td><?php echo $activity['sub_money'];?></td>
                                                          <td>
                                                            <a href="###">
                                                                <i class="icon icon-remove"></i>
                                                                移除
                                                            </a>
                                                          </td>
                                                        </tr>
                                                        <?php } else { ?>
                                                        <tr>
                                                          <td colspan="5">
                                                              <p class="text-center">无使用优惠！</p>
                                                          </td>
                                                        </tr>
                                                        <?ph